/**
 * NearShop
 * SoapResult.java
 * com.android.nearshop.io.protocol.out
 * 
 */
package com.wise.site.protocol.base;

import java.io.Serializable;

import org.json.JSONException;
import org.json.JSONObject;
import org.json.JSONStringer;


/*********************************************************
 * @author : zhaohua
 * @version : 2012-8-11
 * @see : 返回的结果基类
 * @Copyright : copyrights reserved by personal 2007-2012
 **********************************************************/
public abstract class SoapItem implements Serializable
{    
	public SoapItem() {
	}
	
	public SoapItem(JSONObject node) {
		try {
			parse(node);
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public abstract void parse(JSONObject node) throws JSONException;
}
